package org.nmgyjt.springboot.beans.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("资源类型对象")
@Data
public class CsSystemOrgInitDeleteBean {

    @NotEmpty(message = "删除部门树的根节点ID不允许为空")
    @ApiModelProperty(required = true, value = "资源类型ID", dataType = "string")
    private String id;


    @ApiModelProperty(required = true, value = "删除的类型:1-逻辑删除;2-物理删除", dataType = "integer")
    private Integer type = 1;

}
